home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / Date < prev    next >
Text File  |  1995-05-19  |  3KB  |  81 lines

  1.  
  2.  
  3.  
  4.             Date(V1.3, 2.x, 3.x) (Locatin C:))             
  5.  
  6.  
  7.      NAME
  8.             DATE - Set or display the system date.
  9.  
  10.      SYNOPSIS
  11.           DATE [Date] [Time] [TO=VER]
  12.  
  13.      DESCRIPTION
  14.             Date is used to set the systems idea of the current 
  15.         date and time, or to display the systems idea of the 
  16.         current date and time.
  17.  
  18.             To display the current system time simply use Date 
  19.         with no arguments.  You may specify a TO or verification 
  20.         file to send the date to, if no TO file is specified, the 
  21.         date is displayed in the current window.
  22.  
  23.             To set the time you use the format HH:MM:SS where H 
  24.         stands for hours, M stands for minutes, and S stands for 
  25.         seconds.  Leading zeroes are optional for all versions 
  26.         except 1.2.  1.2 requires that you include a leading zero 
  27.         before the 10th month.
  28.  
  29.             Commodore has a very strict formula for the date 
  30.         formats. If you type a two digit year from 78 to 99 
  31.         AmigaDos will translate that as 1978 to 1999. If you type 
  32.         a two digit number from 00 to 45 AmigaDos will translate 
  33.         that as 2000 to 2045. You cannot enter a year from 1946 
  34.         to 1977. 
  35.  
  36.             If you accidently set a year from 0 to 45 all files 
  37.         created will have the datestamp from the 21st century. 
  38.         When you finally discover your mistake, and change the 
  39.         date back to a correct date, that file will be 
  40.         datestamped 'Future' since the 21st century is in the 
  41.         future.  
  42.  
  43.             Saturday, Sunday, Monday, and the rest of the days of 
  44.         the week can be used as flags. The system will evaluate 
  45.         the day then advance the system date to match the 
  46.         specified day of the week. So, if it is Monday and you 
  47.         specify Thursday, the system clock will advance by three 
  48.         days.
  49.  
  50.             FOR 1.3 Only:  SETCLOCK is used in the 
  51.         startup-sequence to automatically read the system's 
  52.         hardware clock (if present).  The A1000 and A500 did not 
  53.         come with a clock installed.  Therefor, AmigaDOS would 
  54.         check the boot disk for the date of most recent file and 
  55.         sets the system date according to that.  The Date command 
  56.         is then used to set the proper date and time.  This was 
  57.         lost anytime you rebooted the computer or utilized the 
  58.         SETCLOCK SAVE command.
  59.  
  60.             FOR 2.x/3.x: The clock is read automatically by the 
  61.         system without utilizing the SETCLOCK command. Therefor, 
  62.         you will never see it listed anywhere.
  63.  
  64.  
  65.  
  66.      EXAMPLES
  67.             1. To use default AmigaDOS format.
  68.  
  69.                  SET dateformat=0   
  70.  
  71.             2. To set the date, using AmigaDOS format
  72.  
  73.                  Date 1-jan-88  
  74.  
  75.  
  76.             3. To set the date to the next day's date and the 
  77.         time to 12:00
  78.  
  79.                   Date Tomorrow 12:00 
  80.  
  81.